/* 获取时间 */
export const getDate = () => {
  const date = new Date()
  const y = date.getFullYear()
  const m = date.getMonth() + 1
  const d = date.getDate()
  const h = date.getHours()
  const mm = date.getMinutes()
  const ss = date.getSeconds()
  const timeStr = `${y}年${m}月${d}日${h}时${mm}分${ss}秒`
  return {
    timeStr,
  }
}
